package cn.lin.spring.test2;

import cn.lin.spring.test.ServiceA;
import org.springframework.beans.factory.annotation.Autowired;

public class ServiceDImpl implements ServiceD {

    @Autowired
    ServiceA serviceA;

    @Override
    public String sayByD(String what) {
        System.out.println("Say holly from D" + what);
        return "D";
    }
}
